package org.jeecg.modules.xxgx.leqiht.enums;

import cn.hutool.core.util.ObjectUtil;

/**
 * 乐企回填业务类型
 */
public enum LQhtYwlxEnum {
    LQFPBSWJJF ("乐企版式文件回填","LQFPBSWJJF"),

    ;
    private final String desc;//描述
    private final String value;//值
    LQhtYwlxEnum(String desc, String value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public String getValue() {
        return value;
    }

    public static LQhtYwlxEnum getObject(String value) {

        if (ObjectUtil.isEmpty(value)) {
            return null;
        }

        for (LQhtYwlxEnum c : LQhtYwlxEnum.values()) {
            if (value.equals(c.getValue())) {
                return c;
            }
        }
        return null;
    }
}
